package com.woniu.cms.psm.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lilili
 * @since 2022-09-24
 */
@Getter
@Setter
@Accessors(chain = true)
  @TableName("cms_attachment")
@ApiModel(value = "Attachment对象", description = "")
public class Attachment implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("附件编号")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("所属表单id")
      private Integer objId;

      @ApiModelProperty("文件名字")
      private String fileName;

      @ApiModelProperty("文件存储名字")
      private String saveName;

      @ApiModelProperty("文件在阿里云的路径")
      private String url;

      @ApiModelProperty("文件大小(M)")
      private BigDecimal size;

      @ApiModelProperty("上传人")
      private String person;

      @ApiModelProperty("备注")
      private String remark;


}
